﻿using System;

namespace PresentationNamespace
{
    public enum TypeLog {Text, Html};

    public interface IStackView
    {
        string stackState
        {
            set;
        }
        string addItemField
        {
            get;
            set;
        }
        string gotItemField
        {
            set;
        }
        string errorMessage
        {
            set;
        }
        bool isErrorMessageVisible
        {
            get;
            set;
        }
        string logWindow
        {
            set;
        }
        bool isLogPanelVisible
        {
            get;
            set;
        }
        TypeLog typeLog
        {
            get;
            set;
        }

        event Action OnGetElementClick;
        event Action OnAddElementClick;
        event Action OnShowLogClick;
        event Action OnSaveLogClick;
        event Action OnChangeTypeLogToText;
        event Action OnChangeTypeLogToHtml;
    }
}
